
//- This source code is licensed under the terms of the
//- GNU Affero General Public License found in the LICENSE file in
//- the root directory of this source tree.
//-
//- Copyright (c) 2021-present Kaleidos INC

.tag(ng-style="{'background-color': tag[1]}")
    span(ng-bind-html="tag[0] | emojify")
    tg-svg.icon-close.e2e-delete-tag(
        ng-if="hasPermissions"
        svg-icon="icon-close"
        svg-title-translate="COMMON.TAG.DELETE"
        ng-click="onDeleteTag(tag)"
        tg-loading="loadingRemoveTag == tag[0]"
    )
